﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using FwProject.Core.Restaurant;
using FwProject.Core.TypeNumber;
using FwProject.TypeNumber.Dto;
using Newtonsoft.Json;
namespace FwProject.Restaurant.Dto
{
    [AutoMap(typeof(LoadingCarInfo))]
    public class LoadingCarDto :Entity<Guid>,ICreationAudited
    {
        /// <summary>
        /// 配送型号
        /// </summary>
        /// <value>The user info DAO.</value>
        [Display(Name = "装车编号")]
        public Guid LoadCarId { get; set; }

        [JsonIgnore]
        public LoadCarDto LoadCarModel { get; set; }
        /// <summary>
        /// 装车id
        /// </summary>
        /// <value>The employee restaurant identifier.</value>

        [Display(Name = "配送型号")]
        public Guid TypeNumberInfoId { get; set; }

        public TypeNumberInfoDto TypeNumberInfoModel { get; set; }

        /// <summary>
        /// 装车套数
        /// </summary>
        /// <value>The countproduct.</value>
        [Display(Name = "装车套数")]
        public int Countproduct { get; set; } = 0;

        public long? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }
    }
}
